
#include "P1.h"
#include <AT89X52.h>
unsigned char choose[8]={0xfe,0xfd,0xfb,0xf7,0xef,0xdf,0xbf,0x7f};
unsigned char charactor[16]={0x3f,0x06,0x5b,0x4f,0x66,0x6d,0x7d,0x07,0x7f};
                        //0,	1,	2,	3,	4,	5,	6,	7,	8,	
int i;
void main()
{
while(1)
{
for(i=0;;i++)
	{
		P1=choose[i%8];
		P0=charactor[i%8];
		delay();
	}

}

}
